hvm/fep: Allow testing of instructions crossing the -1 -> 0 virtual boundary
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 Aug 2016 13:35:28 +0000 (14:35 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 8 Sep 2016 15:39:46 +0000 (16:39 +0100)
commit7b5cee79dad24e7006059667b02bd7de685d8ee5
treefcadaa2d2fc0a469acdda867c5239126f45cf605
parentd14fffcc6a7c054db9e337026a3c850152244ac4
hvm/fep: Allow testing of instructions crossing the -1 -> 0 virtual boundary

The Force Emulation Prefix is named to follow its PV counterpart for cpuid or
rdtsc, but isn't really an instruction prefix.  It behaves as a break-out into
Xen, with the purpose of emulating the next instruction in the current state.

It is important to be able to test legal situations which occur in real
hardware, including instruction which cross certain boundaries, and
instructions starting at 0.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c